flow of control in python class 11